package com.cashmama.market.api.domain.enums;


import com.fqgj.xjd.user.client.enums.UserBindCardTypeEnum;

/**
 * 跳转地址
 */
public enum HomeRouteEnum {

    BORROW_CONFIRM("APP/CLViewControllerBorrowConfirm", "Switch to the loan confirmation page", ""), // 跳转到借款确认页
    BORROW_DETAIL("APP/CLViewControllerBorrowDetail", "Switch to the loan details page", ""),    // 跳转到借款详情页
    REPAY_BANK_CARD("APP/CLViewRepay", "Switch to the payment bank card interface", ""), // 跳转到支付银行卡界面
    USER_PROFILE("APP/CLViewControllerUserDataList", "Switch to profile page", ""),  // 跳转到个人资料页
    RE_EDIT_BUTTON_JUMPER_URL("APP/CLViewControllerReeditHintPage", "Re-edit", "Re-edit"),  // 跳转资料重传页面
    LONGIN("APP/CLViewControllerLogin", "Switch to the login page", ""), // 跳转到登录页
    REBIND_BANK_CARD("APP/CLViewControllerUserBankCard?bankCareBindType=" + UserBindCardTypeEnum.CARD_51.getCode() + "&entryType=bankcard", "Switch  to replace the bank card", ""),// 跳转更换银行卡
    CREDIT_FREEZE_POP("APP/CLViewComfirmAlert?title=%s&content=%s&buttonMsg=%s", "Pop-up quota to get the freezing period prompt", ""), //弹出额度获取冷冻期提示
    SIGN_DIGIO("APP/CLViewControllerSigningDigio", "agree and sign", "Agree and Sign"),
    SIGN_SIGN_DESK("APP/CLViewControllerSigningDesk", "agree and sign", "Agree and Sign"),
    SIGN_SELF("APP/CLViewControllerSigningSelf", "agree and sign", "Agree and Sign"),
    VERIFY("APP/ToGetCreditScore", "Verify", "Verify"),
    AADHAAR_NUMBER("URL/aadhaarnumber", "Verify aadhaar No", ""),//advanceAi 验证aadhaar
    ;

    private String jumpUrl;
    private String desc;
    /**
     * 按钮提示信息
     */
    private String buttonMsg;


    HomeRouteEnum(String jumpUrl, String desc, String buttonMsg) {
        this.jumpUrl = jumpUrl;
        this.desc = desc;
        this.buttonMsg = buttonMsg;
    }

    public String getJumpUrl() {
        return jumpUrl;
    }

    public void setJumpUrl(String jumpUrl) {
        this.jumpUrl = jumpUrl;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getButtonMsg() {
        return buttonMsg;
    }

    public HomeRouteEnum setButtonMsg(String buttonMsg) {
        this.buttonMsg = buttonMsg;
        return this;
    }
}